package 买卖股票的最佳时机II;

/**
 * @author: AirMan
 * @date: 2025/4/22 13:59
 * @description:
 */
public class Test {
    public static void main(String[] args) {

        Solution2 solution = new Solution2();

        int[] nums = new int[]{7,6,4,3,1};

        System.out.println("result = " + solution.maxProfit(nums));

    }
}
